<html>
<head><meta charset="utf-8"><title>Building Rust with custom LLVM · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Building.20Rust.20with.20custom.20LLVM.html">Building Rust with custom LLVM</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="227897168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Building%20Rust%20with%20custom%20LLVM/near/227897168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Building.20Rust.20with.20custom.20LLVM.html#227897168">(Feb 26 2021 at 08:40)</a>:</h4>
<p>Hey, I was wondering if there were any docs somewhere about using a custom LLVM with rustc?</p>



<a name="227904537"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Building%20Rust%20with%20custom%20LLVM/near/227904537" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Giacomo Stevanato <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Building.20Rust.20with.20custom.20LLVM.html#227904537">(Feb 26 2021 at 09:49)</a>:</h4>
<p>I guess you're looking for <a href="https://rustc-dev-guide.rust-lang.org/building/new-target.html#specifying-a-new-llvm">https://rustc-dev-guide.rust-lang.org/building/new-target.html#specifying-a-new-llvm</a>, note however that it's a bit outdated (see <a href="https://github.com/rust-lang/rustc-dev-guide/pull/1043">https://github.com/rust-lang/rustc-dev-guide/pull/1043</a>).</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>